import request from '@/utils/request'
export const getUserState = (data: { uId: number; type: boolean }) => {
  return request({
    method: 'put',
    url: `users/${data.uId}/state/${data.type}`,
    data,
  })
}
